import unittest

from htmltestreport import HTMLTestReport

from Unittest.CanShuHua.param import MyTestCase

# suite = unittest.TestSuite()
# suite.addTest(MyTestCase('test_add'))
suite = unittest.TestLoader().discover('.', pattern='param*.py')
# runner = unittest.TextTestRunner()

runner = HTMLTestReport('../report/test_add.html','加法测试报告','hahah')
runner.run(suite)